#ifndef __QCOMMON_H__
#define __QCOMMON_H__

static void qNormalizeAngle(int &angle)
{
	while (angle < 0)
		angle += 360 * 16;
	while (angle > 360 * 16)
		angle -= 360 * 16;
}

#endif //__QCOMMON_H__